package com.foreveross.bsl.mdm.ios.application.vo;

import java.io.Serializable;
import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * ios MDM签到对象
 * 
 * @author heyaowen
 * @2014-7-18 @上午10:52:41
 */
@XmlRootElement(name = "mdmEnrollment")
@XmlAccessorType(XmlAccessType.FIELD)
public class MdmEnrollmentVo implements Serializable {

	private static final long serialVersionUID = 4872037333320980009L;

	private String id; // 用来对应domain模型的key
	
	private String udid;
	
	private String topic;
	
	private byte[] byteToken; // plist中要转成16进制字符串
	
	private String token; // 解码后的token
	
	private String pushMagic;
	
    private byte[] unlockToken; // 清除密码必要值: base64 解码
    
	private Date create_time; /** 创建时间 */
	
	private Date modified_time; /** 修改时间*/
	

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public String getUdid() {
		return udid;
	}

	public void setUdid(String udid) {
		this.udid = udid;
	}

	public String getTopic() {
		return topic;
	}

	public void setTopic(String topic) {
		this.topic = topic;
	}
	
	public byte[] getByteToken() {
		return byteToken;
	}

	public void setByteToken(byte[] byteToken) {
		this.byteToken = byteToken;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getPushMagic() {
		return pushMagic;
	}

	public void setPushMagic(String pushMagic) {
		this.pushMagic = pushMagic;
	}

	public byte[] getUnlockToken() {
		return unlockToken;
	}

	public void setUnlockToken(byte[] unlockToken) {
		this.unlockToken = unlockToken;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Date getModified_time() {
		return modified_time;
	}

	public void setModified_time(Date modified_time) {
		this.modified_time = modified_time;
	}
	
}
